import {WeaTools} from 'ecCom'

export const getExportCondition = params => {   //得到导出查询条件
    return WeaTools.callApi('/api/workrelate/task/getExportCondition', 'GET', params);
}
export const getExportTableList = params => {   //得到导出查询条件
    return WeaTools.callApi('/api/workrelate/task/tableList', 'GET', params);
}
export const getExportColumn = params => {//获取定制列字段
    return WeaTools.callApi('/api/ec/dev/table/showCol', 'GET', params);
}
export const doExportList = params => {   //导出
    return WeaTools.callApi('/api/workrelate/task/doExportList', 'GET', params);
}
export const importTask = params => {   //导入
    return WeaTools.callApi('/api/workrelate/task/importTask', 'POST', params);
}